package org.jeecg.modules.order.vo;

import java.util.List;

import org.jeecg.modules.order.entity.KuybOrderPayment;
import org.jeecg.modules.order.entity.KuybOrderPolicy;
import org.jeecg.modules.order.entity.KuybOrderChanp;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 订单
 * @Author: jeecg-boot
 * @Date:   2021-09-09
 * @Version: V1.0
 */
@Data
@ApiModel(value="kuyb_orderPage对象", description="订单")
public class KuybOrderPage {
	String shiyxz;
	String beibxrdz;

	// 1级规格
	String level1Sku;
	// 2级规格
	String level2Sku;

	String openId;

	String shenhfs;

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**订单金额*/
	@Excel(name = "订单金额", width = 15)
	@ApiModelProperty(value = "订单金额")
    private Integer dingdje;
	/**订单状态*/
	@Excel(name = "订单状态", width = 15, dicCode = "dingdzt")
    @Dict(dicCode = "dingdzt")
	@ApiModelProperty(value = "订单状态")
    private String dingdzt;
	/**订单编号*/
	@Excel(name = "订单编号", width = 15)
	@ApiModelProperty(value = "订单编号")
    private String dingdbh;

	@ExcelCollection(name="支付详情")
	@ApiModelProperty(value = "支付详情")
	private List<KuybOrderPayment> kuybOrderPaymentList;
	@ExcelCollection(name="订单和保单")
	@ApiModelProperty(value = "订单和保单")
	private List<KuybOrderPolicy> kuybOrderPolicyList;
	@ExcelCollection(name="订单和产品")
	@ApiModelProperty(value = "订单和产品")
	private List<KuybOrderChanp> kuybOrderChanpList;

	/**电子签章用户token*/
	@Excel(name = "电子签章用户token", width = 15)
	@ApiModelProperty(value = "电子签章用户token")
	private String userToken;

}
